package com.mgm.utils;
import java.util.UUID;
 
/**
 * 
 * @ClassName: UUIDUtil 
 * @Description: 工具类 
 * @author Andy Zhang
 * @date 2018年7月11日 下午3:01:50 
 *
 */
public class UUIDUtil {
 
 
	/**
	 * Title:String
	 * @Description: TODO
	 * @Param:
	 * @Return: common uuid 
	 * @throws: 
	 * @author:Andy Zhang
	 * @Date:2017-12-28上午9:42:42
	 * @return
	 */
	public static String uuid(){
		return UUID.randomUUID().toString();
	}
	
	
	/**
	 * Title:String
	 * @Description: TODO
	 * @Param:
	 * @Return:replace - uuid
	 * @throws: 
	 * @author:Andy Zhang
	 * @Date:2017-12-28上午9:43:51
	 * @return
	 */
	public static String uuidRep(){
		return UUID.randomUUID().toString().replace("-", "");
	}
 
	public static void main(String[] args) {
		System.out.println(uuidRep());
	}
}
